﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using FinApp.DataProviders.Enumerations;
using System.Collections.Generic;
using FinApp.Model;
using System.Collections.ObjectModel;
using FinApp.DataProviders.EventArguments.Base;

namespace FinApp.DataProviders.EventArguments {

    public delegate void CommerceCompleteEventHandler(object sender, CommerceEventArgs e);

    public class CommerceEventArgs : ServerEventArgsBase {

        #region Members

        private CommerceDataModel commerceDataModel;

        #endregion

        #region Constructors

        public CommerceEventArgs(ProviderResponseEnumeration loginStatus, string message, /*ObservableCollection*/CommerceDataModel commerceDataModel) : base(loginStatus, message) {
            this.commerceDataModel = commerceDataModel;
        }

        #endregion

        #region Properties

        public CommerceDataModel CommerceDataModel {
            get { return commerceDataModel; }
        }

        #endregion
    }
}
